package order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
public class UserNutrition implements Serializable {
  public UserNutrition() {
  }

   int id;
   int userId;
   double energy;
   float protein;
   float fats;
   float carbohydrate;
   float fiber;
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   Date date;
}
